﻿using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

#nullable disable

namespace Domain.Entities.MentalHealth;

/// <summary>
/// 健康档案表
/// </summary>
[Table("MentalHealthSelfAssessments")]
public class MentalHealthSelfAssessment : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 关联用户ID（必须与用户表主键对应）
    /// </summary>
    public long? CustomerId { get; set; }

    public Customer? Customer { get; set; }

    /// <summary>
    /// 心理描述
    /// </summary>
    public string PsychologicalDescription { get; set; }

    /// <summary>
    /// 心理测试题提示词（用于生成心理测试题）
    /// </summary>
    public string PsychologicalQuestionsPrompt { get; set; }

    /// <summary>
    /// 心理测试题
    /// </summary>
    public string PsychologicalQuestions{ get; set; }

    /// <summary>
    /// 答题
    /// </summary>
    public string AnswerQuestions { get; set; }

    /// <summary>
    /// 解析答题提示词
    /// </summary>
    public string AnalyzeAnswerQuestionsPrompt { get; set; }

    /// <summary>
    /// 解析答题结果
    /// </summary>
    public string AnalysisResult { get; set; }

    /// <summary>
    /// 软删除标志
    /// </summary>
    public bool? IsDeleted { get; set; }
}
